import React from 'react';
import { NavLink } from 'umi';

const Menu = () => {
  return (
    <>
      <NavLink to={'/goods/1'} activeStyle={{ color: '#399' }}>
        商品详情1
      </NavLink>
      <NavLink to={'/goods/2'} activeStyle={{ color: '#399' }}>
        商品详情2
      </NavLink>
      <NavLink
        to={{
          pathname: '/goods/3',
          search: '?a=1',
        }}
        activeStyle={{ color: '#399' }}
      >
        商品详情3
      </NavLink>
      <NavLink
        to={{
          pathname: '/goods/4',
          query: {
            asd: 'qwe',
          },
        }}
        activeStyle={{ color: '#399' }}
      >
        商品详情4
      </NavLink>
    </>
  );
};
export default Menu;
